package com.sds.smarthome.foundation.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by CXX on 2016/2/19.
 */
public class ThirdPartDevResponse implements Serializable {

    private String deviceCount;
    private List<YSInfo> ysDeviceInfoList;
    private List<WJInfo> wjDeviceInfoList;
    private List<YKInfo> ykDeviceInfoList;

    public String getDeviceCount() {
        return deviceCount;
    }

    public void setDeviceCount(String deviceCount) {
        this.deviceCount = deviceCount;
    }

    public List<YSInfo> getYsDeviceInfoList() {
        return ysDeviceInfoList;
    }

    public void setYsDeviceInfoList(List<YSInfo> ysDeviceInfoList) {
        this.ysDeviceInfoList = ysDeviceInfoList;
    }

    public List<WJInfo> getWjDeviceInfoList() {
        return wjDeviceInfoList;
    }

    public void setWjDeviceInfoList(List<WJInfo> wjDeviceInfoList) {
        this.wjDeviceInfoList = wjDeviceInfoList;
    }

    public List<YKInfo> getYkDeviceInfoList() {
        return ykDeviceInfoList;
    }

    public void setYkDeviceInfoList(List<YKInfo> ykDeviceInfoList) {
        this.ykDeviceInfoList = ykDeviceInfoList;
    }

    public class YSInfo implements Serializable, Cloneable {
        private String serialId;
        private String cameraId;
        private String cameraPassword;
        private String phone;
        private String bindCcuDeviceId;
        private String accessToken;
        private String bindRoomId;
        private String deviceName;
        private String category;
        private boolean needRebind;

        public boolean isNeedRebind() {
            return needRebind;
        }

        public void setNeedRebind(boolean needRebind) {
            this.needRebind = needRebind;
        }

        public String getBindRoomId() {
            return bindRoomId;
        }

        public void setBindRoomId(String bindRoomId) {
            this.bindRoomId = bindRoomId;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        public String getSerialId() {
            return serialId;
        }

        public void setSerialId(String serialId) {
            this.serialId = serialId;
        }

        public String getCameraId() {
            return cameraId;
        }

        public void setCameraId(String cameraId) {
            this.cameraId = cameraId;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getBindCcuDeviceId() {
            return bindCcuDeviceId;
        }

        public void setBindCcuDeviceId(String bindCcuDeviceId) {
            this.bindCcuDeviceId = bindCcuDeviceId;
        }

        public String getCameraPassword() {
            return cameraPassword;
        }

        public void setCameraPassword(String cameraPassword) {
            this.cameraPassword = cameraPassword;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }

        @Override
        public Object clone() {
            Object o = null;
            try {
                o = super.clone();
            } catch (CloneNotSupportedException e) {
                e.printStackTrace();
            }
            return o;
        }
    }

    public class WJInfo implements Serializable, Cloneable {

        private String id;
        private String apartmentId;
        private String apartmentQRCode;
        private List<String> monitorIds;
        private String bindCcuDeviceId;
        private String bindRoomId;
        private String devName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getApartmentId() {
            return apartmentId;
        }

        public void setApartmentId(String apartmentId) {
            this.apartmentId = apartmentId;
        }

        public String getApartmentQRCode() {
            return apartmentQRCode;
        }

        public void setApartmentQRCode(String apartmentQRCode) {
            this.apartmentQRCode = apartmentQRCode;
        }

        public List<String> getMonitorIds() {
            return monitorIds;
        }

        public void setMonitorIds(List<String> monitorIds) {
            this.monitorIds = monitorIds;
        }

        public String getBindCcuDeviceId() {
            return bindCcuDeviceId;
        }

        public void setBindCcuDeviceId(String bindCcuDeviceId) {
            this.bindCcuDeviceId = bindCcuDeviceId;
        }

        public String getBindRoomId() {
            return bindRoomId;
        }

        public void setBindRoomId(String bindRoomId) {
            this.bindRoomId = bindRoomId;
        }

        public String getDevName() {
            return devName;
        }

        public void setDevName(String devName) {
            this.devName = devName;
        }

        @Override
        public Object clone() {
            Object o = null;
            try {
                o = super.clone();
            } catch (CloneNotSupportedException e) {
                e.printStackTrace();
            }
            return o;
        }
    }

    public class YKInfo implements Serializable, Cloneable {

        private String serialId;
        private String bid;
        private String phone;
        private String deviceName;
        private String bindCcuDeviceId;
        private String bindRoomId;

        public String getSerialId() {
            return serialId;
        }

        public void setSerialId(String serialId) {
            this.serialId = serialId;
        }

        public String getBid() {
            return bid;
        }

        public void setBid(String bid) {
            this.bid = bid;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        public String getBindCcuDeviceId() {
            return bindCcuDeviceId;
        }

        public void setBindCcuDeviceId(String bindCcuDeviceId) {
            this.bindCcuDeviceId = bindCcuDeviceId;
        }

        public String getBindRoomId() {
            return bindRoomId;
        }

        public void setBindRoomId(String bindRoomId) {
            this.bindRoomId = bindRoomId;
        }


        @Override
        public Object clone() {
            Object o = null;
            try {
                o = super.clone();
            } catch (CloneNotSupportedException e) {
                e.printStackTrace();
            }
            return o;
        }
    }
}
